﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="ExtendControls" Namespace="ExtendControls" TagPrefix="cc1" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>
  
   
         <cc1:NumericTextBox ID="NumericTextBox1" IsRequired="false"  runat="server"></cc1:NumericTextBox>
         <cc1:VarcharTextBox ID="VarcharTextBox1" IsRequired="false"  runat="server"></cc1:VarcharTextBox>
         
         <asp:Button ID="ChangeIsRequired" runat="server" Text="ChangeIsRequired" 
            CausesValidation="False" onclick="ChangeIsRequired_Click" />
        
         <asp:Button runat="server" id="btnSubmit" Text="Validate"/>
        
         
        <br />
        static
        <br />
      <asp:TextBox ID="TextBox1" runat="server" ></asp:TextBox>
      <asp:FilteredTextBoxExtender ID="TextBox1_FilteredTextBoxExtender" 
            runat="server" FilterType="Custom, Numbers" ValidChars="+-" TargetControlID="TextBox1">
      </asp:FilteredTextBoxExtender>
    </div>
    </form>
</body>
</html>
